
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
 
namespace MaxLeaf.Platform.DataContract
{
    [Serializable]
    [DataContract]
    [CommonsLib.ORM.DataTable(DBName = "MaxleafSCPSEOrder", TableName = "mFieldValueInfo", KeyPropName = "Key" )]
    public class mFieldValueInfoDataModel : BaseDataModel
    {
        [DataMember]
        [CommonsLib.ORM.DataField("RecID", true)]
        public int Key {get;set;}

        [DataMember]
        [CommonsLib.ORM.DataField("TableName", "varchar", 50)]
        public string TableName {get;set;}

        [DataMember]
        [CommonsLib.ORM.DataField("FieldName", "varchar", 50)]
        public string FieldName {get;set;}

        [DataMember]
        [CommonsLib.ORM.DataField("FieldValue", "int", 4)]
        public int FieldValue {get;set;}

        [DataMember]
        [CommonsLib.ORM.DataField("ValueDesc", "varchar", 50)]
        public string ValueDesc {get;set;}

        [DataMember]
        [CommonsLib.ORM.DataField("SortSeqNo", "int", 4)]
        public int SortSeqNo {get;set;}


        public override string ToString()
        {
            return string.Format("{0}.{1}", "mFieldValueInfo", this.Key);
        }
    }
}
            